package com.chixing.day20_annotation_jdk8.homework;

import java.util.Arrays;
import java.util.List;

public class Number {
    public static void main(String[] args) {


        List<Integer> numbers = Arrays.asList(1, 2, 3, 4, 5);
        numbers.stream().map((number) -> number*number)
                .forEach(System.out::println);
    }
}
